package UtranNRMSystem;
/**
 * Generated from IDL enum "AntennaType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class AntennaType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _NonRET = 0;
	public static final AntennaType NonRET = new AntennaType(_NonRET);
	public static final int _SingleChannel = 1;
	public static final AntennaType SingleChannel = new AntennaType(_SingleChannel);
	public static final int _MultiChannel = 2;
	public static final AntennaType MultiChannel = new AntennaType(_MultiChannel);
	public static final int _Other = 3;
	public static final AntennaType Other = new AntennaType(_Other);
	public int value()
	{
		return value;
	}
	public static AntennaType from_int(int value)
	{
		switch (value) {
			case _NonRET: return NonRET;
			case _SingleChannel: return SingleChannel;
			case _MultiChannel: return MultiChannel;
			case _Other: return Other;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _NonRET: return "NonRET";
			case _SingleChannel: return "SingleChannel";
			case _MultiChannel: return "MultiChannel";
			case _Other: return "Other";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected AntennaType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
